home *** CD-ROM | disk | FTP | other *** search
/ Aminet 31 / Aminet 31 (1999)(Schatztruhe)[!][Jun 1999].iso / Aminet / dev / c / ADOSLib.lha / ADOSLib / Doku / ADOSLIB.doc next >
Text File  |  1999-04-08  |  1KB  |  37 lines

  1. ADOSLIB.lib is a little linker library with functions that
  2. are not support by vbcc yet. The lib ist freeware. You have
  3. permission to copy the lib only in original version. The
  4. use is full free.
  5.  
  6. The function putenv uses strdup (not included in vbcc, you
  7. can find it in STRINGLIB.lib). All other functions uses only
  8. functions that supported in vbcc.
  9.  
  10. getcwd: return the path name of the current directory
  11. char *getcwd (char *path, int size);
  12.  
  13. cmp: stringcompre, for use with sort()
  14. int cmp (char **a, char **b);
  15.  
  16. setenv: set up environmentvariable with value
  17. int setenv (char *name, char *value);
  18.  
  19. unlink - deletes a file
  20. int unlink (char *name);
  21.  
  22. GetCurrentPath: get full path of the current directory
  23. void GetCurrentPath (register char *path);
  24.  
  25. GetProgramPath: get full path of the directory from where the program was startet.
  26. void GetProgramPath (register char *path);
  27.  
  28. makedir: create the given directory
  29. void makedir (UBYTE *file);
  30.  
  31. putenv: write environment, usage is putenv("var=value");
  32. void putenv (char *s);
  33.  
  34. CheckSetPatchVersion: Check SetPatch is running, can also test the version and
  35. revision of SetPatch.
  36. BOOL CheckSetPatchVersion(struct ExecBase *SysBase, UWORD version, UWORD revision);
  37.